﻿@inherits Blazorise.BarLink
@if ( To != null )
{
    <Blazorise.Link Class="@ClassNames" Style="@StyleNames" To="@To" Target="@Target" Title="@Title" Match="@Match" Attributes="@Attributes">
        <span>@ChildContent</span>
    </Blazorise.Link>
}
else
{
    <a class="@ClassNames" style="@StyleNames" title="@Title" @onclick="@ClickHandler" @attributes="@Attributes">
        <span>@ChildContent</span>
    </a>
}